#ifndef ENDINGPANEL_H
#define ENDINGPANEL_H

#include <QLabel>
#include <QPixmap>
#include <QWidget>
#include"scorepanel.h"
#include<QPushButton>
#include"cards.h"
#include"card.h"
class EndingPanel : public QWidget
{
    Q_OBJECT
public:
    explicit EndingPanel(bool isLord,bool isWin,QWidget *parent = nullptr);
    void setPlayerScore(int left, int right, int me);
signals:
    void ContinueGame();

private:
    QPixmap m_bk;
    QLabel *m_title;
    ScorePanel *m_panel;
    QPushButton *m_btn;


    // QWidget interface
protected:
    virtual void paintEvent(QPaintEvent *event) override;
};



#endif // ENDINGPANEL_H
